package kr.co.mustgo.model.dao.membership;

import java.sql.SQLException;
import java.util.List;

import kr.co.mustgo.domain.membership.Admin;




public interface AdminDAO {

	public abstract int insertAdmin(Admin admin) throws SQLException;
	public abstract int updateAdmin(Admin admin) throws SQLException;
	public abstract int deleteAdminById(String id) throws SQLException;
	
	public abstract Admin selectAdminById(String id) throws SQLException;
	public abstract List<Admin> selectAdminList() throws SQLException;
	public abstract List<Admin> selectAdminByName(String name) throws SQLException;


	
	//총 회원의 수 조회
	public abstract int selectRowCount() throws SQLException;
	
}//end class
